package com.weiqiao.mall.service.impl;

import com.weiqiao.mall.domain.WXCompanyConfEntity;
import com.weiqiao.mall.repository.ICompanyConfRepository;
import com.weiqiao.mall.service.IConfigService;
import com.weiqiao.base.entity.ManagerEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * @author PENGLIWEI
 * @createDate 2019-10-29
 */
@Service("ConfigServiceImpl")
public class ConfigServiceImpl implements IConfigService {

    @Autowired
    @Qualifier("CompanyConfRepositoryImpl")
    private ICompanyConfRepository companyConfRepository;

    @Override
    public void delfanLabel(int userid, String ids) {

    }

    @Override
    public boolean addfanLabel(String json, int userid) {
        return false;
    }

    @Override
    public void updatefanOne(int userid, String hiddenIDs, String json) {

    }

    @Override
    public void updatefanTwo(int userid, String ids, String json) {

    }

    @Override
    public void updateEnterpriseaccount(ManagerEntity managerEntity) {

    }

    @Override
    public void deleteContactsByDeviceId(int companyid, String deivceNo) {

    }

    @Override
    public WXCompanyConfEntity getCompanyConf(int company_id) {
        WXCompanyConfEntity conf = companyConfRepository.getCompanyConfEntity(company_id);
        return conf;
    }

    @Override
    public boolean updateShopBanner(int company_id, String[] idlist) {
        return false;
    }

    @Override
    public boolean updateShopRecommend(int company_id, String[] idlist) {
        return false;
    }

    @Override
    public boolean updateKilometre(int company_id, String kilometre) {
        return false;
    }

    @Override
    public boolean updateLogisticCode(int company_id, String logistic_code, String[] company_logistic) {
        return false;
    }
}
